Support i64.add/sub128 instructions from Wide Arithmetic proposal#8638
Merged
stevenfontanella merged 4 commits intomainfrom Apr 28, 2026
Merged
Support i64.add/sub128 instructions from Wide Arithmetic proposal#8638stevenfontanella merged 4 commits intomainfrom
stevenfontanella merged 4 commits intomainfrom
Conversation
fcaeb5c to
05f832e
Compare
8b5d54c to
1891d2d
Compare
05f832e to
b271162
Compare
b271162 to
cb10047
Compare
784490c to
7e839a0
Compare
kripken
reviewed
Apr 27, 2026
tlively
reviewed
Apr 27, 2026
3ba6b06 to
80fe1b7
Compare
tlively
reviewed
Apr 29, 2026
| return i16Array; | ||
| } | ||
|
|
||
| Type getI64Pair() { |
Member
There was a problem hiding this comment.
Let's either remove this or move it to a different namespace; a pair is not a heap type.
stevenfontanella
added a commit
that referenced
this pull request
Apr 29, 2026
Member
|
I think we need to mark the testcase here as non-fuzzable? V8 gives me errors on needing the wide-arithmetic flag, which it seems we don't pass (and if I pass it, it errors on a missing opcode) |
Member
Author
Thanks, will send a fix now. |
Member
Author
|
Sent #8663. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #8544
i64 to i32 lowering isn't implemented yet because supporting multi-value i64 returns requires more work here. Will add this in a separate change.
Spec tests are adapted from the upstream proposal repo, with only tests related to i64.add128 and i64.sub128 included.
Drive-by changes: